public class Test {
    public static void main(String[] args) {
        LinkedList linkedList = new LinkedList();
        linkedList.addLast(56);
        linkedList.addLast(45);
        linkedList.addLast(34);
        linkedList.addLast(23);
        linkedList.display();
        linkedList.addIndex(1,12);
        linkedList.display();


    }

}
